from Cell import *

class Map:
    def __init__(self):
        i=0
        self.rows = [Cell()]
        while i<31:
            self.rows.append(Cell())
            i+=1
        i=0
        self.map = [self.rows]
        while i<31:
            self.map.append(self.rows)
            i+=1
            
    def getCell(self, x, y):
        row = self.map[y]
        return row[x]
    
    def getConnection(self, currentCell):
        currentCell